﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Discharge.aspx.cs" Inherits="CRMWeb.Pages.AM.Discharge" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="stylesheet" id="newtheme" type="text/css" href="/EasyUI/Themes/metro-red/easyui.css" />
    <link rel="stylesheet" type="text/css" href="/EasyUI/Themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="/Css/CrmStyle.css" />
    <script type="text/javascript" src="/Scripts/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/EasyUI/jquery.easyui.min.js"></script>
    <style type="text/css">
        .same_width {
            width: 90%;
            height: auto;
            margin-top: 5px;
            margin-left: 2%;
            padding: 5px;
        }
    </style>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="easyui-panel" style="width: 800px; height: 500px" id="pnlMain" title="DISCHARGE">

            <div class="form_field">
                <div class="same_width">
                    <strong>ONLY DISCHARGE WHEN THE ACCOUNT BALANCE IS ZERO OR LESS</strong>
                </div>
                <div class="same_width">
                    <%--<label>Update Account Status to Closed : </label>--%>
                    <a id="btnUpdate" href="javascript:void(0)" onclick="SubmitChanges()" class="easyui-linkbutton" iconcls="icon-ok">Update Account Status </a>
                    <a id="btnClose" href="javascript:void(0)" onclick="closeEziDebit()" class="easyui-linkbutton" iconcls="icon-ok">Close EziDebit Account</a>
                    <a id="btnSent" href="javascript:void(0)" onclick="closeEziDebit()" class="easyui-linkbutton" iconcls="icon-ok">Inform borrowers of Loan closure </a>

                </div>
                <div class="same_width">
                    <%--<label> Close EziDebit Account : </label>--%>
                    <span>Done on
                    <label id="lblUpdateDate">22/02/2014 </label>
                    </span>

                    <span>Done on
                       <label id="lblCloseEziDebit">22/02/2014</label>
                    </span>

                    <span>Done on
                    <label id="lblSent">22/02/2014</label>
                    </span>

                </div>
                <div class="same_width">
                    <table id="dgSecurity" title="Release of Security(ies)" style="width: 500px;" autorowheight="true" fitcolumns="true" singleselect="true">
                        <thead>
                            <tr>
                                <th field="SecurityType" width="50">Security Type</th>
                                <th field="Security" width="100">Security</th>
                                <th field="Status" width="50">Security Status </th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <div class="same_width">
                    <a id="A1" href="javascript:void(0)" onclick="SubmitChanges()" class="easyui-linkbutton" iconcls="icon-ok">Release Completed </a>
                    <span>Done on
                    <label id="lblRelease">22/02/2014</label>
                    </span>
                </div>


            </div>

        </div>
    </form>
    <script type="text/javascript">

        $('#dgSecurity').datagrid({
            data: []
        });
    </script>
</body>
</html>
